﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucChiTietSP.ascx.cs" Inherits="ucControl_ucChiTietSP" %>
<div id="right">
    <div class="sanpham">
        <div class="next_pre">
            <h1>
                Chi tiết sản phẩm</h1>
        </div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:FormView ID="frmViewDetail" runat="server">
                    <ItemTemplate>
                        <table id="hienthi">
                            <tr>
                                <td style="width: 260px; height: 250px; text-align: center; margin-top: 12px" valign="top">
                                    <asp:Image ID="imgItem" runat="server" ImageUrl='<%# "~/ImageProcess.ashx?file=" + "~/Admin/img/Items/" + Eval("ImageURL") + "&width=300&heigh=300&dd=true" %>'
                                        ToolTip='<%# Eval("ItemName") %>' Style="margin-top: 12px" />
                                    <br />
                                    <br />
                                    <!-- AddThis Button BEGIN -->
                                    <div class="addthis_toolbox addthis_default_style ">
                                        <a class="addthis_button_facebook_like" fb: like:layout="button_count"></a><a class="addthis_button_tweet">
                                        </a><a class="addthis_button_pinterest_pinit"></a><a class="addthis_counter addthis_pill_style">
                                        </a>
                                    </div>

                                    <script type="text/javascript">                                        var addthis_config = { "data_track_addressbar": true };</script>

                                    <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-506fa4552f0e3d7d"></script>

                                    <!-- AddThis Button END -->
                                    <%--<asp:Label ID="lbvote" runat="server" Text='<%# Eval("Vote") %>'></asp:Label>--%>
                                    <br />
                                    <br />
                                </td>
                                <td valign="top" class="chitiet">
                                    <table cellpadding="3" cellspacing="3" width="100%">
                                        <tr id="hr">
                                            <td style="text-align: left; line-height: 30px; padding-left: 14px">
                                                <p class="ten">
                                                    <asp:Label ID="Label1" runat="server" Text='<%# Server.HtmlDecode(Eval("ItemName").ToString())%>'></asp:Label></p>
                                                Giá bán :
                                                <asp:Label ID="lblPrice1" runat="server" Text='<%# double.Parse(Eval("BaseSellingPrice").ToString()).ToString("0,00.##") %>'
                                                    CssClass="clsTotalPriceCart"></asp:Label>
                                                (Đã bao gồm VAT)
                                                <br />
                                                Số Seri: <strong>
                                                    <asp:Label ID="lblCode" runat="server" Text='<%# Eval("ItemNumber") %>'></asp:Label></strong>
                                                <br />
                                                <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/addtocard.png"
                                                    Width="85px" Height="23px" OnClick="cmdMua_Click" />
                                                <asp:Label ID="lblInfoAddCart" runat="server" Text="" ForeColor="Red"></asp:Label><br />
                                                <strong style="font-family: Verdana; font-size: 13px; color: #515151;"><b>Thông tin
                                                    sản phẩm</b></strong>
                                                <br />
                                                <%# Server.HtmlDecode(Eval("ItemDescription").ToString())%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:FormView>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</div>
